package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * viper对象 viper
 * 
 * @author handsome
 * @date 2023-12-19
 */
public class Viper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员id */
    private Long vipID;

    /** 姓名 */
    @Excel(name = "姓名")
    private String vipName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 会员积分 */
    @Excel(name = "会员积分")
    private String vipScore;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private String vipGrade;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date vipTime;

    public void setVipID(Long vipID) 
    {
        this.vipID = vipID;
    }

    public Long getVipID() 
    {
        return vipID;
    }
    public void setVipName(String vipName) 
    {
        this.vipName = vipName;
    }

    public String getVipName() 
    {
        return vipName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setVipScore(String vipScore) 
    {
        this.vipScore = vipScore;
    }

    public String getVipScore() 
    {
        return vipScore;
    }
    public void setVipGrade(String vipGrade) 
    {
        this.vipGrade = vipGrade;
    }

    public String getVipGrade() 
    {
        return vipGrade;
    }
    public void setVipTime(Date vipTime) 
    {
        this.vipTime = vipTime;
    }

    public Date getVipTime() 
    {
        return vipTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vipID", getVipID())
            .append("vipName", getVipName())
            .append("phone", getPhone())
            .append("vipScore", getVipScore())
            .append("vipGrade", getVipGrade())
            .append("vipTime", getVipTime())
            .toString();
    }
}
